package com.cnswhy.cloud.server.core.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cnswhy.cloud.server.common.entity.enumeration.ChannelType;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2021-07-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CpsCustomerChannelInfoPageDTO", description = "")
public class CpsCustomerChannelInfoPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @NotNull(message = "不能为空")
    private Long customerId;
    @ApiModelProperty(value = "")
    @Length(max = 50, message = "长度不能超过50")
    private String bankNum;
    @ApiModelProperty(value = "")
    @Length(max = 20, message = "长度不能超过20")
    private String accountName;
    @ApiModelProperty(value = "")
    @Length(max = 11, message = "长度不能超过11")
    private String mobile;
    @ApiModelProperty(value = "")
    @Length(max = 18, message = "长度不能超过18")
    private String idCard;
    /**
     * 银行简称
     */
    @ApiModelProperty(value = "银行简称")
    @Length(max = 20, message = "银行简称长度不能超过20")
    private String bankAbbr;
    /**
     * 渠道ID
     */
    @ApiModelProperty(value = "渠道ID")
    @Length(max = 20, message = "渠道ID长度不能超过20")
    private String channelId;
    /**
     * 费率，万分之1
     */
    @ApiModelProperty(value = "费率，万分之1")
    private Integer feeRate;
    /**
     * 附加手续费
     */
    @ApiModelProperty(value = "附加手续费")
    private Integer externFee;
    /**
     * 进件返回商户号
     */
    @ApiModelProperty(value = "进件返回商户号")
    @Length(max = 255, message = "进件返回商户号长度不能超过255")
    private String subMerchId;
    /**
     * 钱包类型 #ChannelType{LITTLE:小额;LARGE:大额;}
     */
    @ApiModelProperty(value = "钱包类型 #ChannelType{LITTLE:小额;LARGE:大额;}")
    private ChannelType channelType;

}
